function clickitem()
{ 

  var fireOnThis = document.getElementById("doSavePaymentButton");
  if(fireOnThis == null){
       fireOnThis = document.getElementById("doSaveDeliveryBtn");
  }
  if(fireOnThis == null)
  { 
	  fireOnThis = document.getElementById("confirm_goods");
  }
  if(fireOnThis == null)
  {	  
	  return;
  }

   if (document.createEvent)
                  {
                    var evObj = document.createEvent('MouseEvents');
                    evObj.initEvent( 'click', true, false );
                    fireOnThis.dispatchEvent(evObj);
                  }
                  else if (document.createEventObject)
                  {
                       fireOnThis.fireEvent('onclick');
                  }
}
clickitem();

